<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
    <head>

        <meta charset="utf-8" />

        <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

        <title>Aplikasi Managemen Seminar Ilmiah</title>

        <meta name="description" content="" />

        <!-- Mobile viewport optimized: j.mp/bplateviewport -->
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />

        <link href="script/style.css" rel="stylesheet" />
        <link href="http://fonts.googleapis.com/css?family=Droid+Serif:regular,bold" rel="stylesheet" /> <!-- Load Droid Serif from Google Fonts -->

        <!-- All JavaScript at the bottom, except for Modernizr and Respond.
        Modernizr enables HTML5 elements & feature detects; Respond is a polyfill for min/max-width CSS3 Media Queries -->
        <script src="js/modernizr-1.7.min.js"></script>
        <script src="js/respond.min.js"></script>
    </head>

    <body>

        <div id="wrapper">

            <header id="header" class="clearfix" role="banner">

                <hgroup>
                    <h1 id="site-title"><a href="index.php">Seminar Ilmiah</a></h1>
                    <h2 id="site-description">LPPM Politeknik Telkom</h2>
                </hgroup>

            </header> <!-- #header -->

            <div id="main" class="clearfix">

                <!-- Navigation -->
                <nav id="menu" class="clearfix" role="navigation">
                    <ul>
                        <li><a href="index.php">Beranda</a></li>
                        <li><a href="index.php?page=agenda_seminar">Agenda Seminar</a></li>
                        <li><a href="index.php?page=informasi_seminar">Informasi Seminar</a></li>
                        <li><a href="index.php?page=about">Tentang Kami</a></li>
                        <li><a href="index.php?page=kontak">Kontak</a></li>
                        <li><a href="index.php?page=bantuan">Bantuan</a></li>
                    </ul>
                </nav> <!-- #nav -->

                <!-- Show a "Please Upgrade" box to both IE7 and IE6 users (Edit to IE 6 if you just want to show it to IE6 users) - jQuery will load the content from js/ie.html into the div -->

                <!--[if lte IE 7]>
                    <div class="ie warning"></div>
                <![endif]-->

                <div id="content" role="main">
                    <?php
                    include("utility/connection.php");
                    include("model/mSeminar.php");
                    $result = fnSelectAllSeminar();
                    if ($result) {
                        while ($infoResult = mysql_fetch_array($result)) {
                            echo '<article class="post"><h2 class="entry-title"><a href="#">' . $infoResult[1] . '</a></h2>';
                            echo '<div class="entry-content">' . $infoResult[2] . '</div>';
                            echo '<div class="entry-content">Tempat : ' . $infoResult[3] . '</div>';
                            echo '<div class="entry-content">Tanggal : ' . $infoResult[4] . '</div>';
                            echo '<div class="entry-content">Jam : ' . $infoResult[5] . '</div>';
                            echo '<footer class="post-meta"><p></p></footer></article><hr/> ';
                        }
                    }
                    ?>
                </div> <!-- #content -->

                <aside id="sidebar" role="complementary">

                    <aside class="widget">
                        <form action="sendmail.php" method="post" id="contactform">

                            <fieldset>
                                <p>
                                    <label for="username">Username</label>
                                    <input type="text" name="username" id="username" value="" />
                                </p>

                                <p>
                                    <label for="password">Password</label>
                                    <input type="password" name="password" id="password" required value="" />
                                </p>

                                <!-- This is hidden for normal users -->
                                <div class="hide">
                                    <label>Do not fill out this field</label>
                                    <input name="spam_check" type="text" value="" />
                                </div>

                                <p>
                                    <input type="submit" name="submit" value="Login" />
                                </p>

                                <p>
                                    <label>Jika anda tidak memiliki akun, untuk mendaftar klick <u><a href="index.php?page=daftar_user">Sign-Up</a></u></label>
                                </p>

                            </fieldset>

                            <p class="hide" id="response"></p>

                        </form>
                    </aside> <!-- .widget -->

                    <aside class="widget">
                        <!-- Non working search -->
                        <form action="#" class="searchform">
                            <input type="search" results="10" placeholder="Search..." />
                            <input type="submit" value="Search" />
                        </form> <!-- .searchform -->
                    </aside> <!-- .widget -->

                    <aside class="widget">
                        <h3></h3>

                        <p>

                        </p>
                        <p>

                        </p>
                    </aside> <!-- .widget -->

                </aside> <!-- #sidebar -->

            </div> <!-- #main -->

            <footer id="footer">
                <!-- You're free to remove the credit link to Jayj.dk in the footer, but please, please leave it there :) -->
                <p>
                    Copyright &copy; 2011 <a href="#">Sitename.com</a>
                    <span class="sep">|</span>
                    Design by <a href="http://jayj.dk" title="Design by Jayj.dk">Jayj.dk</a>
                </p>
            </footer> <!-- #footer -->

            <div class="clear"></div>

        </div> <!-- #wrapper -->

        <!-- JavaScript at the bottom for fast page loading -->
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
        <script src="js/script.js"></script>

    </body>
</html>